import request from '@/utils/request'

// 列表
export function specimensTypeAll(query) {
  return request({
    url: '/assay/specimensType/listAll',
    method: 'get',
    params: query
  })
}

// 列表
export function pageList(query) {
  return request({
    url: '/assay/specimensType/list',
    method: 'get',
    params: query
  })
}

// 新增
export function add(data) {
  return request({
    url: '/assay/specimensType/create',
    method: 'post',
    data
  })
}

// 编辑
export function edit(data) {
  return request({
    url: '/assay/specimensType/update',
    method: 'post',
    data
  })
}

// 删除
export function del(query) {
  return request({
    url: '/assay/specimensType/delete',
    method: 'get',
    params: query
  })
}
